package com.zqxq.lottery.service.analysis.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.zqxq.lottery.entity.po.analysis.AnalysisPointPO;
import com.zqxq.lottery.mapper.analysis.AnalysisPointMapper;
import com.zqxq.lottery.service.analysis.IAnalysisPointService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class AnalysisPointServiceImpl extends ServiceImpl<AnalysisPointMapper, AnalysisPointPO> implements IAnalysisPointService {


    @Override
    public List<AnalysisPointPO> get(String code) throws Exception {
        Wrapper wrapper = new EntityWrapper();
        wrapper.eq("code",code);
        return baseMapper.selectList(wrapper);
    }
}
